package demo1;

public class Bird extends Animal{
    public Bird(String name, int age){
        super(name, age);
    }

    @Override
    public void eat(){
        System.out.println(this.name +" 正在吃鸟食");
    }

    public void fly(){
        System.out.println(this.name +" 正在飞....");
    }
}
